-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add quic support and fix some bugs #724
Conversation
@@ -97,7 +97,8 @@ private async ValueTask HandleClosing() | |||
{ | |||
try | |||
{ | |||
await _pipeTask.ConfigureAwait(false); | |||
if (_pipeTask != null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add comment for the scenario _pipeTask = null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can put this change into a separated PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
|
||
namespace SuperSocket.Quic.Connection; | ||
|
||
#pragma warning disable CA2252 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore ca1415 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ | ||
private readonly Stream _stream; | ||
|
||
public QuicPipeConnection(Stream stream, EndPoint remoteEndPoint, ConnectionOptions options) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it really accept all kinds of Stream or only support QuicStream?
|
||
public async ValueTask OpenStreamAsync(CancellationToken cancellationToken) | ||
{ | ||
_stream = await _connection.AcceptInboundStreamAsync(cancellationToken); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's inbound stream, do we need handle the outbound stream?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Inbound Stream seems to be all that's needed on the server
No description provided.